<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>自定义布局</title>
    <style>
        body {
            margin: 0;
            padding: 0;
            display: flex;
            height: 100vh;
        }
        .left-bar {
            width: 1px;
            background-color: black;
        }
        .pattern-bar {
            width: 100px;
            background-color: yellowgreen; /* 用户可以自定义图案 */
        }
        .right-space {
            flex: 1;
            background-color: white;
        }
    </style>
</head>
<body>
    <div class="left-bar"></div>
    <div class="pattern-bar"> 
        <img src="https://bpic.588ku.com/back_our/bg/20200915/bg/7dcce95c99c96_398852.jpg" alt="自定义图案" >
    </div>
    <div class="right-space"></div>
</body>
</html>